<template>
  <el-form-item label="区号">
    <el-input v-model="input" placeholder="请输入" suffix-icon="el-icon-search" clearable></el-input>
  </el-form-item>
</template>

<script>
export default {
  name: "AreaCode",
  props: {
    AreaCode: {
      input: String
    }
  },
  data() {
    return {
      input: this.AreaCode.input
    };
  },
  methods: {
    getData: function() {
      let that = this;
      that.input = this.AreaCode.input;
    },
    reset: function() {
      let that = this;
      that.input = "";
    }
  }
};
</script>

<style scoped>
</style>